// GJ_BPA.h: interface for the CGJ_BPA class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GJ_BPA_H__3C1759CB_E843_407D_BAAF_6C5F87D3AC45__INCLUDED_)
#define AFX_GJ_BPA_H__3C1759CB_E843_407D_BAAF_6C5F87D3AC45__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Unit_BPA.h"

class BPAFILEDLL_API CGJ_BPA : public CUnit_BPA   
{
public:
	CGJ_BPA(CGJ_BPA& gjBPA);
	CGJ_BPA();
	virtual ~CGJ_BPA();

public:
	double m_dT1;
	double m_dEpsilon;
	double m_dK1;
	char m_chI;
	double m_dKp;
	double m_dKd;
	double m_dKi;
	double m_dINTGmax;
	double m_dINTGmin;
	double m_dPIDmax;
	double m_dPIDmin;
	double m_dK2;
	double m_dWmax;
	double m_dWmin;

protected:
	bool UpdateEx(char* buffer);
	bool FillEx(char* buffer);
};

#endif // !defined(AFX_GJ_BPA_H__3C1759CB_E843_407D_BAAF_6C5F87D3AC45__INCLUDED_)
